package com.ht.module.bus.entity;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;


/**
 * <p>
 * 房间用户表
 * </p>
 *
 * @author hejialun
 * @since 2024-11-25
 */

@TableName("bus_room_user")
@Data
@Accessors(chain = true)
public class BusRoomUser {

    @ApiModelProperty("房间用户id")
    @TableId
    private String roomUserId;

    @ApiModelProperty("房间id")
    private Integer roomId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("是否房主，0是；1不是")
    private Integer isHost;

    @ApiModelProperty("得分")
    private BigDecimal score;

    @ApiModelProperty("创建时间")
    private LocalDateTime createDate;


}
